home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / oledlg.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  4.1 KB  |  123 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'OleDlg.pas' rev: 3.00
  6.  
  7. #ifndef OleDlgHPP
  8. #define OleDlgHPP
  9. #include <ActiveX.hpp>
  10. #include <Commctrl.hpp>
  11. #include <Windows.hpp>
  12. #include <SysInit.hpp>
  13. #include <System.hpp>
  14.  
  15. //-- user supplied -----------------------------------------------------------
  16.  
  17. #include <oledlg.h>
  18.  
  19.  
  20. namespace Oledlg
  21. {
  22. //-- type declarations -------------------------------------------------------
  23. typedef int __stdcall (*TFNOleUIHook)(HWND Wnd, int Msg, int WParam, int LParam);
  24.  
  25. typedef tagOLEUIINSERTOBJECTA *POleUIInsertObject;
  26.  
  27. typedef tagOLEUIINSERTOBJECTA  TOleUIInsertObject;
  28.  
  29. typedef tagOLEUIPASTEENTRYA *POleUIPasteEntry;
  30.  
  31. typedef tagOLEUIPASTEENTRYA  TOleUIPasteEntry;
  32.  
  33. typedef tagOLEUIPASTESPECIALA *POleUIPasteSpecial;
  34.  
  35. typedef tagOLEUIPASTESPECIALA  TOleUIPasteSpecial;
  36.  
  37. __interface iOleUILinkContainer;
  38. typedef System::DelphiInterface<iOleUILinkContainer> _di_iOleUILinkContainer;
  39. __interface iOleUILinkContainer : public IUnknown /* __guid="{00000000-0000-0000-0000-000000000000}" */
  40.     
  41. {
  42.     
  43. public:
  44.     virtual int __stdcall GetNextLink(int dwLink) = 0;
  45.     virtual HRESULT __stdcall SetLinkUpdateOptions(int dwLink, int dwUpdateOpt) = 0;
  46.     virtual HRESULT __stdcall GetLinkUpdateOptions(int dwLink, int &dwUpdateOpt) = 0;
  47.     virtual HRESULT __stdcall SetLinkSource(int dwLink, char * pszDisplayName, int lenFileName, int &chEaten
  48.         , BOOL fValidateSource) = 0;
  49.     virtual HRESULT __stdcall GetLinkSource(int dwLink, char * &pszDisplayName, int &lenFileName, char * 
  50.         &pszFullLinkType, char * &pszShortLinkType, BOOL &fSourceAvailable, BOOL &fIsSelected) = 0;
  51.     virtual HRESULT __stdcall OpenLinkSource(int dwLink) = 0;
  52.     virtual HRESULT __stdcall UpdateLink(int dwLink, BOOL fErrorMessage, BOOL fErrorAction) = 0;
  53.     virtual HRESULT __stdcall CancelLink(int dwLink) = 0;
  54. };
  55.  
  56. typedef tagOLEUIEDITLINKSA *POleUIEditLinks;
  57.  
  58. typedef tagOLEUIEDITLINKSA  TOleUIEditLinks;
  59.  
  60. typedef tagOLEUICHANGEICONA *POleUIChangeIcon;
  61.  
  62. typedef tagOLEUICHANGEICONA  TOleUIChangeIcon;
  63.  
  64. typedef tagOLEUICONVERTA *POleUIConvert;
  65.  
  66. typedef tagOLEUICONVERTA  TOleUIConvert;
  67.  
  68. typedef tagOLEUIBUSYA *POleUIBusy;
  69.  
  70. typedef tagOLEUIBUSYA  TOleUIBusy;
  71.  
  72. __interface iOleUIObjInfo;
  73. typedef System::DelphiInterface<iOleUIObjInfo> _di_iOleUIObjInfo;
  74. __interface iOleUIObjInfo : public IUnknown /* __guid="{00000000-0000-0000-0000-000000000000}" */
  75. {
  76.     
  77. public:
  78.     virtual HRESULT __stdcall GetObjectInfo(int dwObject, int &dwObjSize, char * &lpszLabel, char * &lpszType
  79.         , char * &lpszShortType, char * &lpszLocation) = 0;
  80.     virtual HRESULT __stdcall GetConvertInfo(int dwObject, GUID &ClassID, Word &wFormat, GUID &ConvertDefaultClassID
  81.         , System::PGUID &lpClsidExclude, int &cClsidExclude) = 0;
  82.     virtual HRESULT __stdcall ConvertObject(int dwObject, const GUID &clsidNew) = 0;
  83.     virtual HRESULT __stdcall GetViewInfo(int dwObject, int &hMetaPict, int &dvAspect, int &nCurrentScale
  84.         ) = 0;
  85.     virtual HRESULT __stdcall SetViewInfo(int dwObject, int hMetaPict, int dvAspect, int nCurrentScale, 
  86.         BOOL bRelativeToOrig) = 0;
  87. };
  88.  
  89. __interface iOleUILinkInfo;
  90. typedef System::DelphiInterface<iOleUILinkInfo> _di_iOleUILinkInfo;
  91. __interface iOleUILinkInfo : public iOleUILinkContainer /* __guid="{00000000-0000-0000-0000-000000000000}" */
  92.     
  93. {
  94.     
  95. public:
  96.     virtual HRESULT __stdcall GetLastUpdate(int dwLink, _FILETIME &LastUpdate) = 0;
  97. };
  98.  
  99. typedef tagOLEUIGNRLPROPSA *POleUIGnrlProps;
  100.  
  101. typedef tagOLEUIGNRLPROPSA  TOleUIGnrlProps;
  102.  
  103. typedef tagOLEUIVIEWPROPSA *POleUIViewProps;
  104.  
  105. typedef tagOLEUIVIEWPROPSA  TOleUIViewProps;
  106.  
  107. typedef tagOLEUILINKPROPSA *POleUILinkProps;
  108.  
  109. typedef tagOLEUILINKPROPSA  TOleUILinkProps;
  110.  
  111. typedef tagOLEUIOBJECTPROPSA *POleUIObjectProps;
  112.  
  113. typedef tagOLEUIOBJECTPROPSA  TOleUIObjectProps;
  114.  
  115. //-- var, const, procedure ---------------------------------------------------
  116.  
  117. }    /* namespace Oledlg */
  118. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  119. using namespace Oledlg;
  120. #endif
  121. //-- end unit ----------------------------------------------------------------
  122. #endif    // OleDlg
  123.